#ifndef HEARTBTIMER_H
#define HEARTBTIMER_H
#include <QObject>
#include <createmymsg.h>
#include <iostream>
#include <vector>
#include <string>

class HeartBTimer : public QObject{
    Q_OBJECT


public:
    HeartBTimer( QObject* parent = nullptr);
    ~HeartBTimer();
    void handlerTimeout();
    virtual void timerEvent(QTimerEvent *event);

signals:
    void SendUsersState();
private:
    int m_nTimerID;
};
#endif // HEARTBTIMER_H
